import { defineStore } from "pinia";
import { useStorage } from "@vueuse/core";
export const useUserStore = defineStore("user", () => {
	const token = ref<string|null>("")
	return {
		token,
	};
},{
	persist: {
		key: 'APP_USER', 
		storage: localStorage, 
		paths: ['token'],
	},
});